Skip to content

docs: clarify ServiceMonitor and PrometheusRule defaults and alternatives#309

Closed
Soju06 wants to merge 1 commit intomainfrom
helm/servicemonitor-defaults
Closed

docs: clarify ServiceMonitor and PrometheusRule defaults and alternatives#309
Soju06 wants to merge 1 commit intomainfrom
helm/servicemonitor-defaults

Conversation

@Soju06
Copy link
Copy Markdown
Owner

@Soju06 Soju06 commented Apr 3, 2026

Summary

  • Explain why ServiceMonitor defaults to false (requires Prometheus Operator CRDs)
  • Document prometheus.io annotation alternative for basic Prometheus scraping
  • Describe what PrometheusRule alerts are included

Motivation

Users deploying with Prometheus (but not Prometheus Operator) don't know how to scrape codex-lb metrics. Users with Prometheus Operator don't know what alerts are available.

Copy link
Copy Markdown

@chatgpt-codex-connector chatgpt-codex-connector bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 09f5b3d5c6

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

existingSecret: ""

# @section Database initialization parameters
dbInit:
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Remove unsupported dbInit values until templates exist

This change adds a dbInit section that claims to enable a pre-install database initialization Job, but the chart has no template path that consumes .Values.dbInit (I checked deploy/helm/codex-lb/templates/**). In practice, dbInit.enabled: true is a no-op, so operators can believe DB/users were provisioned when nothing ran. Please either include the actual hook/job implementation in the same change or defer this values block until that functionality exists.

Useful? React with 👍 / 👎.

@Soju06
Copy link
Copy Markdown
Owner Author

Soju06 commented Apr 3, 2026

Consolidating into 2 PRs: chart features + docs

@Soju06 Soju06 closed this Apr 3, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant